var listCtrl;

(function () {
    var backend = new tddjs.TodoList();
    var view = document.getElementById("todo-items");
    var listController = new tddjs.ListController(view, backend);

    // backend.add("Brush");
    // backend.add("Shower");
    // backend.add("TDD");

    listController.init();
    
    listCtrl = listController;
}());

listCtrl.markDone(0)
